package kibahed.uni.mdp.representation;

public class Action {

	int actionID;
	String actionName;
	
	public Action(int actionID, String actionName) {
		this.actionID = actionID;
		this.actionName = actionName;
	}

	
	
	public int getActionID() {
		return actionID;
	}
	
	public void setActionID(int actionID) {
		this.actionID = actionID;
	}

	public String getActionName() {
		return actionName;
	}

	public void setActionName(String actionName) {
		this.actionName = actionName;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + actionID;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Action other = (Action) obj;
		if (actionID != other.actionID)
			return false;
		return true;
	}
	
	
}
